package com.zone.module_base

import android.app.Application
import android.content.Context
import com.zone.core.CoreApplication
import com.zone.module_base.di.BaseComponent
import com.zone.module_base.di.DaggerBaseComponent

class BaseApp : CoreApplication() {
    var TAG: String = "BaseApp"

    init {
        context = this
    }

    companion object {
        lateinit var context: Application
        val appComponent: BaseComponent by lazy {
            DaggerBaseComponent.builder().build()
        }
    }


    override fun onCreate() {
        super.onCreate()
    }

    override fun attachBaseContext(base: Context?) {
        super.attachBaseContext(base)
    }
}